package nanocast.apps.creator.modules.mediaWindow.controller
{
	import nanocast.apps.creator.modules.mediaWindow.model.MediaProxy;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	public class LoadMediaXmlCommand extends SimpleCommand 
	{
		public static const NAME:String = "org.puremvc.as3.apps.flex.mediaTile.modules.mediaWindow.controller.LoadMediaXmlCommand";
		
		override public function execute(notification:INotification):void
		{
			var mediaProxy : MediaProxy = facade.retrieveProxy(MediaProxy.NAME) as MediaProxy;
			mediaProxy.load();
		}
	}
}